﻿using System;

namespace iTunesArtworkApp.Core
{
    /// <summary>
    ///   Represnts an Album
    /// </summary>
    public class Album
    {
        /// <summary>
        ///   Initializes a new instance of the <see cref = "T:System.Object" /> class.
        /// </summary>
        public Album()
        {
            Artwork = new Artwork();
        } 

        /// <summary>
        ///   Gets or sets the album art work.
        /// </summary>
        public Artwork Artwork { get; set; }

        /// <summary>
        ///   Get or sets the name of the album
        /// </summary>
        public string AlbumName { get; set; }

        /// <summary>
        ///   Get or sets artist or band name.
        /// </summary>
        public string Artist { get; set; }

        /// <summary>
        /// Gets or sets the iTunes album identifier
        /// 
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        ///   Overides the ToString
        /// </summary>
        /// <returns>The album name and artist name string representation</returns>
        public override string ToString()
        {
            return string.Format("{0} - {1}", AlbumName, Artist);
        }
    }

    // end class
}